import { PORT1 } from "../config/servicePort";
import Http from "@/api/index";

export const createDis = (params: any) => {
  return Http.post(PORT1 + "/system/loupan/dis/add", params);
};

export const editDis = (params: any) => {
  return Http.put(PORT1 + "/system/loupan/dis/edit", params);
};

export const getDisList = () => {
  return Http.get(PORT1 + "/system/loupan/dis/list");
};

export const deleteDis = (params: any) => {
  return Http.post(PORT1 + "/system/loupan/dis/delete", params);
};
